package ink.tiptop.learn.pojo.dto.orderInfo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * (OrderInfo)删除DTO
 *
 * @author zjf
 * @since 2020-08-14 20:51:45
 */
@Data
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class DeleteOrderInfoDto implements Serializable {
    private static final long serialVersionUID = -12839889759673810L;
    /**
     * 主键ID
     */
    @JsonProperty("IDS")
    @NotEmpty(message = "批量删除的ID不能为空")
    private List<Integer> id;

}